package my.test.decorator;

/**
 * @Author 许玉康
 * @Date 2019/8/28 11:19
 */
public class SugarFouthGradeSchoolReport extends FouthGradeSchoolReport {

    private  void reportHighSocre() {
        System.out.println("这次考试语文最高是75，数学是78，自然是80");
    }

    private void reportSort() {
        System.out.println("我排名第38....");
    }

    @Override
    public void report() {
        this.reportHighSocre();
        super.report();
        this.reportSort();
    }

}
